﻿package mortal.common.swfPlayer.data
{
    import com.mui.core.*;
    import flash.display.*;
    import flash.utils.*;

    public class ModelData extends Object
    {
        private static var _dataMap:Dictionary = new Dictionary();
        public static var Shadow:BitmapData = GlobalClass.getBitmapData("Shadow");

        public function ModelData()
        {
            return;
        }// end function

        public static function addData(param1:String, param2:IMovieClipData) : void
        {
            _dataMap[param1] = param2;
            return;
        }// end function

        public static function getData(param1:String) : IMovieClipData
        {
            return _dataMap[param1];
        }// end function

        public static function dispose() : void
        {
            var _loc_1:IMovieClipData = null;
            for each (_loc_1 in _dataMap)
            {
                
                if (_loc_1.referenceCount == 0)
                {
                    _loc_1.dispose();
                }
            }
            return;
        }// end function

    }
}
